﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microhard.Core.DBUtility;
using Microhard.WarehouseInsp.Buz.Validator;

namespace Microhard.WarehouseInsp.Buz.Models
{
    [FluentValidation.Attributes.Validator(typeof(InspectionRecordModelValidator))]
    public class InspectionRecordModel : BasePermissionModel
    {
        [ModelPKID]
        public Guid InspectionRecordID { set; get; }
        public Guid WarehouseID { set; get; }
        public string InsEmployeeID { set; get; }
        public string InsEmployeeName { set; get; }
        public string InsEmployeePhone { set; get; }
        public DateTime InsDatetime { set; get; }
        public string PledePrdDescription { set; get; }
        public bool Enviro { get; set; }
        public string Inquement { get; set; }
        public string Process { get; set; }
        public string Att { get; set; }
        public string LowLevel { get; set; }
        public decimal CurrentAmountInSheet { get; set; }
        public decimal CurrentAmountIByChecking { get; set; }
        public string EnterpriseType { get; set; }
        public DateTime CreateTime { get; set; }
        public string CreatorID { get; set; }
        public string CreatorName { get; set; }

        public string WarehouseName { get; set; }

        public List<AttachmentModel> FileList { get; set; }

        public Guid PrjID { set; get; }
        public string PrjName { set; get; }
    }
}
